package com.gitee.huanminabc.fastboot.web.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;


@EqualsAndHashCode(callSuper = true)
@Data
public class ApiProtocolNonSupportException extends RuntimeException implements Serializable {
    private String protocol;
    public ApiProtocolNonSupportException(String protocol) {
        super( protocol + " 协议不支持");
        this.protocol = protocol;
    }
}